Nevron Open Vision Documentation
Nevron.Nov.Dom Namespace / NDocumentFormat<TDocument,TLoadSettings,TSaveSettings> Class / LoadFromFileAsync Method / LoadFromFileAsync(NFile,TLoadSettings,NProgress) Method
File to load document from. Cannot be null.
Optional load settings. Can be null.
Optional progress class. Can be null.


In This Topic
    LoadFromFileAsync(NFile,TLoadSettings,NProgress) Method
    In This Topic
    Loads a document from the specified file.
    Syntax
    'Declaration
     
    
    Public Overloads Function LoadFromFileAsync( _
       ByVal file As NFile, _
       ByVal loadSettings As TLoadSettings, _
       ByVal progress As NProgress _
    ) As NPromise(Of TDocument)
    'Usage
     
    
    Dim instance As NDocumentFormat(Of TDocument,TLoadSettings,TSaveSettings)
    Dim file As NFile
    Dim loadSettings As TLoadSettings
    Dim progress As NProgress
    Dim value As NPromise(Of TDocument)
     
    value = instance.LoadFromFileAsync(file, loadSettings, progress)

    Parameters

    file
    File to load document from. Cannot be null.
    loadSettings
    Optional load settings. Can be null.
    progress
    Optional progress class. Can be null.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also